package com.healthbox.appointmentservice.entity;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalTime;

/**
 * @author pengpeng
 * @date 2022/5/8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AppointmentLimit {
    /**
     * 数据库主键
     */
    private Long aLId;
    /**
     * 预约限制对应日期
     */
    private LocalDate date;
    /**
     * 当前预约可检测时间段开始时间
     */
    private LocalTime startTime;
    /**
     * 当前预约可检测时间段结束时间
     */
    private LocalTime endTime;
    /**
     * 当前检测时间段可预约总人数
     */
    private Integer maxNumber;
    /**
     * 该检测限制所属机构
     */
    private Hospital hospital;
}
